package cn.hill4j.tool.core.crypto;
/**
  * ClassName: SimpleReqSourceVo
  * Description: 简单实现的名文报文统一数据格式
  * @author hillchen
  * Date: 2023/8/8
  * @version: 1.0
  */
public class SimpleReqSourceVo implements ReqSourceVo{
    /**
     * 报文请求时间戳
     */
    private Long reqTime;
    /**
     * 报文请求id
     */
    private String reqId;
    /**
     * 报文请求来源标识
     */
    private String reqSource;
    /**
     * 报文数据加密密钥
     */
    private String dataKey;
    /**
     * 报文业务数据
     */
    private String reqData;

    /**
     * @author hillchen
     * Description 获取报文请求时间戳
     * Date: 2023/8/8 22:31
         * @return Long
     **/
    public Long getReqTime() {
        return reqTime;
    }
    /**
     * @author hillchen
     * Description 设置报文请求时间戳
     * Date: 2023/8/8 22:32
     * @param reqTime 报文请求时间戳
         **/
    public void setReqTime(Long reqTime) {
        this.reqTime = reqTime;
    }
    /**
     * @author hillchen
     * Description 获取报文请求id
     * Date: 2023/8/8 22:32
         * @return String
     **/
    public String getReqId() {
        return reqId;
    }
    /**
     * @author hillchen
     * Description 设置报文请求id
     * Date: 2023/8/8 22:32
     * @param reqId 报文请求id
         **/
    public void setReqId(String reqId) {
        this.reqId = reqId;
    }
    /**
     * @author hillchen
     * Description 获取报文请求来源标识
     * Date: 2023/8/8 22:33
         * @return String
     **/
    public String getReqSource() {
        return reqSource;
    }
    /**
     * @author hillchen
     * Description 设置请求来源标识
     * Date: 2023/8/8 22:33
     * @param reqSource 报文请求来源标识
         **/
    public void setReqSource(String reqSource) {
        this.reqSource = reqSource;
    }
    /**
     * @author hillchen
     * Description 获取数据密钥
     * Date: 2023/8/8 22:36
         * @return String
     **/
    public String getDataKey() {
        return dataKey;
    }

    /**
     * @author hillchen
     * Description 设置数据密钥
     * Date: 2023/8/8 22:36
     * @param dataKey 数据密钥
         **/
    public void setDataKey(String dataKey) {
        this.dataKey = dataKey;
    }

    /**
     * @author hillchen
     * Description 获取业务数据
     * Date: 2023/8/8 22:36
         * @return String
     **/
    public String getReqData() {
        return reqData;
    }

    /**
     * @author hillchen
     * Description 设置业务数据
     * Date: 2023/8/8 22:36
     * @param reqData 业务数据
         **/
    public void setReqData(String reqData) {
        this.reqData = reqData;
    }

    @Override
    public Long findReqTime() {
        return getReqTime();
    }

    @Override
    public void putReqTime(Long reqTime) {
        setReqTime(reqTime);
    }

    @Override
    public String findReqId() {
        return getReqId();
    }

    @Override
    public void putReqId(String reqId) {
         setReqId(reqId);
    }

    @Override
    public String findReqSource() {
        return getReqSource();
    }

    @Override
    public void putReqSource(String reqSource) {
        setReqSource(reqSource);
    }

    @Override
    public String findDataKey() {
        return getDataKey();
    }

    @Override
    public void putDataKey(String dataKey) {
        setDataKey(dataKey);
    }

    @Override
    public String findReqData() {
        return getReqData();
    }

    @Override
    public void putReqData(String reqData) {
        setReqData(reqData);
    }
}
